package com.chinasofti;

import com.chinasofti.dao.MeetingroomDao;

public class test {
    public static void main(String[] args) {
//        EmployeeDao dao = new EmployeeDao();
//        List<Employee> list = dao.selectAllEmpyoee();
//        System.out.println(list);
//        DepartmentDao dao = new DepartmentDao();
////        dao.insert("测试");
//        dao.delete(26);
        MeetingroomDao dao = new MeetingroomDao();
//        List<Meetingroom> list = dao.selectAllMeetings();
        System.out.println(dao.selectroom(5));



//        Employee employee = dao.selectBynamePwd("lilei", "123");
//        System.out.println("employee = " + employee);

//        EmployeeService service = new EmployeeService();
//        int i = service.login("lilei","123");
//        System.out.println("i = " + i);

//        DepartmentDao dao1 = new DepartmentDao();
//        List<Department> list =dao1.selectAll();
//        list.stream().forEach(System.out::println);
//        Employee e = new Employee("test","test","123456","test@163.com",1,"123","","");
//        dao.insert(e);

    }
}
